<html>
<body>
Reports a declarations that are propagated by <code>@Deprecated</code> annotation that will lead to compilation error since 1.9.
<p>Motivation types:</p>
<ul>
    <li>
        Implementation changes are required for implementation design/architectural reasons
    </li>
    <li>
        Inconsistency in the design (things are done differently in different contexts)
    </li>
</ul>

<p><b>More details:</b> <a href="https://youtrack.jetbrains.com/issue/KT-47902">KT-47902: Do not propagate method deprecation through overrides</a></p>
<p>The quick-fix copies <code>@Deprecated</code> annotation from the parent declaration.</p>
<p><b>Example:</b></p>
<pre><code>
  open class <b>Base</b> {
      @Deprecated("Don't use")
      open fun foo() {}
  }

  class <b>Derived</b> : <b>Base</b>() {
      override fun foo() {}
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  open class <b>Base</b> {
      @Deprecated("Don't use")
      open fun foo() {}
  }

  class <b>Derived</b> : <b>Base</b>() {
      @Deprecated("Don't use")
      override fun foo() {}
  }
</code></pre>
<!-- tooltip end -->
<p>This inspection only reports if the Kotlin language level of the project or module is 1.6 or higher.</p>
</body>
</html>